package model;

public class Topic {
	private int id;
	private String content;
	private String zhangjie;
	private int type;
	private int teacherid;
	private int mark;
	private String answer;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getZhangjie() {
		return zhangjie;
	}
	public void setZhangjie(String zhangjie) {
		this.zhangjie = zhangjie;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getTeacherid() {
		return teacherid;
	}
	public void setTeacherid(int teacherid) {
		this.teacherid = teacherid;
	}
	public int getMark() {
		return mark;
	}
	public void setMark(int mark) {
		this.mark = mark;
	}
	
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Topic(int id, String content, String zhangjie, int type, int teacherid, int mark,String answer) {
		super();
		this.id = id;
		this.content = content;
		this.zhangjie = zhangjie;
		this.type = type;
		this.teacherid = teacherid;
		this.mark = mark;
		this.answer = answer;
	}
	public Topic() {
		super();
	}
	
}
